import request from "@/utils/request";

// 获取渠道列表
export function getTableDataApi(data) {
  return request({
    url: "/api/system.hall/index",
    method: "post",
    data: data,
  });
}

export function getHallListApi(data) {
  return request({
    url: "/api/system.hall/getList",
    method: "post",
    data: data,
  });
}

export function readHallApi(data) {
  return request({
    url: "/api/system.hall/read",
    method: "post",
    data: data,
  });
}

export function createHallApi(data) {
  return request({
    url: "/api/system.hall/create",
    method: "post",
    data: data,
  });
}

export function saveHallApi(data) {
  return request({
    url: "/api/system.hall/save",
    method: "post",
    data: data,
  });
}

export function deleteHallApi(data) {
  return request({
    url: "/api/system.hall/delete",
    method: "post",
    data: data,
  });
}